\hypertarget{guild__loader_8hpp}{}\doxysection{guild/guild\+\_\+loader.hpp File Reference}
\label{guild__loader_8hpp}\index{guild/guild\_loader.hpp@{guild/guild\_loader.hpp}}


公会加载  


{\ttfamily \#include $<$functional$>$}\newline
{\ttfamily \#include \char`\"{}guild/guild.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}redis/service\+\_\+redis\+\_\+fwd.\+hpp\char`\"{}}\newline
{\ttfamily \#include \char`\"{}util/util.\+hpp\char`\"{}}\newline
{\ttfamily \#include \char`\"{}fwd.\+h\char`\"{}}\newline
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{guild__loader_8hpp_ac670c3ff284c7abf0b60dc25440dbeee}\label{guild__loader_8hpp_ac670c3ff284c7abf0b60dc25440dbeee}} 
using \mbox{\hyperlink{guild__loader_8hpp_ac670c3ff284c7abf0b60dc25440dbeee}{guild\+\_\+service\+::detail\+::\+Load\+All\+Guild\+Id\+List\+Type}} = std\+::vector$<$ guild\+\_\+id\+\_\+type $>$
\begin{DoxyCompactList}\small\item\em 加载所有公会返回结果容器 \end{DoxyCompactList}\item 
\mbox{\Hypertarget{guild__loader_8hpp_aa2309e16838a8911dab34058928feb21}\label{guild__loader_8hpp_aa2309e16838a8911dab34058928feb21}} 
using \mbox{\hyperlink{guild__loader_8hpp_aa2309e16838a8911dab34058928feb21}{guild\+\_\+service\+::detail\+::\+Load\+All\+Guild\+Id\+Callback\+Type}} = std\+::function$<$ void(const Load\+All\+Guild\+Id\+List\+Type \&)$>$
\begin{DoxyCompactList}\small\item\em 加载所有公会回调函数类型 \end{DoxyCompactList}\item 
\mbox{\Hypertarget{guild__loader_8hpp_a47987cdfca583399eb17b8fc6f335881}\label{guild__loader_8hpp_a47987cdfca583399eb17b8fc6f335881}} 
using {\bfseries guild\+\_\+service\+::detail\+::\+Load\+All\+Guild\+Id\+Str\+List\+Type} = std\+::function$<$ void(const std\+::vector$<$ std\+::string $>$ \&)$>$
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{guild__loader_8hpp_a886c4af2b1a2a73ca33e22d32f8c9142}\label{guild__loader_8hpp_a886c4af2b1a2a73ca33e22d32f8c9142}} 
constexpr char \mbox{\hyperlink{guild__loader_8hpp_a886c4af2b1a2a73ca33e22d32f8c9142}{guild\+\_\+service\+::detail\+::k\+Query\+Guild\+Id\+Command}} \mbox{[}$\,$\mbox{]} = \char`\"{}keys guild\+:$\ast$\char`\"{}
\begin{DoxyCompactList}\small\item\em 查询公会id的命令 \end{DoxyCompactList}\item 
constexpr char \mbox{\hyperlink{guild__loader_8hpp_a2b560fce65ea9880c6cba10867dd2a70}{guild\+\_\+service\+::detail\+::k\+Load\+Guild\+Last\+Id\+Key}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em 加载公会最后创建id的键 \end{DoxyCompactList}\item 
constexpr char \mbox{\hyperlink{guild__loader_8hpp_af7a0f9444c0e68de6ed22b1ec0e3876a}{guild\+\_\+service\+::detail\+::k\+Load\+Guild\+Id\+By\+Role\+Key\+Prefix}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em 获取公会id的键前缀 \end{DoxyCompactList}\item 
\mbox{\Hypertarget{guild__loader_8hpp_af6884a5b43d251fd6b7c0fdb5c9765f8}\label{guild__loader_8hpp_af6884a5b43d251fd6b7c0fdb5c9765f8}} 
constexpr guild\+\_\+id\+\_\+type \mbox{\hyperlink{guild__loader_8hpp_af6884a5b43d251fd6b7c0fdb5c9765f8}{guild\+\_\+service\+::detail\+::k\+Guild\+Begin\+Id}} = 1000
\begin{DoxyCompactList}\small\item\em 公会id初始值 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
公会加载 

\begin{DoxyDate}{Date}
2021/05/12 20\+:46
\end{DoxyDate}
\begin{DoxyAuthor}{Author}
harrybao (\href{mailto:harrybao@123u.com}{\texttt{ harrybao@123u.\+com}})
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
v1.\+0.\+0
\end{DoxyVersion}
\begin{DoxyCopyright}{Copyright}
Copyright © 2021 All Rights Reserved 上海欢乐互娱网络科技有限公司
\end{DoxyCopyright}
\begin{DoxyParagraph}{history\+:}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{4}{|X[-1]}|}
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Date }&\cellcolor{\tableheadbgcolor}\textbf{ Version }&\cellcolor{\tableheadbgcolor}\textbf{ Author }&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-4}
\endfirsthead
\hline
\endfoot
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Date }&\cellcolor{\tableheadbgcolor}\textbf{ Version }&\cellcolor{\tableheadbgcolor}\textbf{ Author }&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-4}
\endhead
2021/05/12 20\+:46 &1.\+0.\+0 &harrybao &创建初始版本 \\\cline{1-4}
\end{longtabu}

\end{DoxyParagraph}


\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{guild__loader_8hpp_af7a0f9444c0e68de6ed22b1ec0e3876a}\label{guild__loader_8hpp_af7a0f9444c0e68de6ed22b1ec0e3876a}} 
\index{guild\_loader.hpp@{guild\_loader.hpp}!kLoadGuildIdByRoleKeyPrefix@{kLoadGuildIdByRoleKeyPrefix}}
\index{kLoadGuildIdByRoleKeyPrefix@{kLoadGuildIdByRoleKeyPrefix}!guild\_loader.hpp@{guild\_loader.hpp}}
\doxysubsubsection{\texorpdfstring{kLoadGuildIdByRoleKeyPrefix}{kLoadGuildIdByRoleKeyPrefix}}
{\footnotesize\ttfamily constexpr char guild\+\_\+service\+::detail\+::k\+Load\+Guild\+Id\+By\+Role\+Key\+Prefix\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [constexpr]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    \textcolor{stringliteral}{"{}role2guild:"{}}}

\end{DoxyCode}


获取公会id的键前缀 

\mbox{\Hypertarget{guild__loader_8hpp_a2b560fce65ea9880c6cba10867dd2a70}\label{guild__loader_8hpp_a2b560fce65ea9880c6cba10867dd2a70}} 
\index{guild\_loader.hpp@{guild\_loader.hpp}!kLoadGuildLastIdKey@{kLoadGuildLastIdKey}}
\index{kLoadGuildLastIdKey@{kLoadGuildLastIdKey}!guild\_loader.hpp@{guild\_loader.hpp}}
\doxysubsubsection{\texorpdfstring{kLoadGuildLastIdKey}{kLoadGuildLastIdKey}}
{\footnotesize\ttfamily constexpr char guild\+\_\+service\+::detail\+::k\+Load\+Guild\+Last\+Id\+Key\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [constexpr]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    \textcolor{stringliteral}{"{}guildlastid"{}}}

\end{DoxyCode}


加载公会最后创建id的键 

